package com.xzst.jacksonxml.model;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

import java.io.Serializable;

/**
 * @Author:liukexin
 * @DATE:2019-06-19 16:57
 */
@Getter
@Setter
@Builder
@ToString
@JacksonXmlRootElement(localName = "Body")
@NoArgsConstructor
@AllArgsConstructor
public class EndUser implements Serializable {
    private static final long serialVersionUID = -6517159893076957224L;

    /**
     * 用户姓名
     */
    @JacksonXmlProperty(localName = "UserName")
    private String userName;

    /**
     * 用户身份证
     */
    @JacksonXmlProperty(localName = "UserIDCard")
    private String userIdCard;

    /**
     * 用户单位
     */
    @JacksonXmlProperty(localName = "UserDept")
    private String userDept;

    /**
     * 用户数字证书编号
     */
    @JacksonXmlProperty(localName = "UserCertID")
    private String userCertId;
}
